/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jmooc.dao;

import com.jmooc.entity.User;
import javax.ejb.Local;

/**
 *
 * @author Group
 */
@Local
public interface UserDao {

    User getByLogin(String login);
    User getById(Long id);
    User getByToken(String token);
    void create(User user);
    void update(User user);
}
